package cn.edu.scnu.semart.user.mapper;

import cn.edu.scnu.semart.model.user.Address;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AddressMapper extends BaseMapper<Address> {
    Address selectByUserIdAndAddressId(
            @Param("userId") Integer userId,
            @Param("addressId") Integer addressId);
}